<!DOCTYPE html>
<html lang="en">
    <head>
        <head>
            <meta charset="UTF-8">
            <title>Velocity</title>
        </head>
    <body>

        <h1>Apache Velocity</h1>

        <p>request : ${request}</p>
        <p>response : ${response}</p>
        <p>session : $!{session}</p>
        <p>application : ${application}</p>

    <hr>

        ## ${request.contextPath} 表示 通过 request 的 getContextPath() 方法 来获取 当前Web应用 的路径
        <form action="${request.contextPath}/directive/condition" method="post">
            <input type="text" name="name" placeholder="请输⼊姓名" >
            请选择性别:
            <input type="radio" name="gender" value="F" > 靓⼥
            <input type="radio" name="gender" value="M" > 靓仔
            <input type="submit" value="提交">
        </form>

    </body>
</html>